package com.zl.enums;


/**
 * 状态返回
 */
public enum Status {

    SUCCESS(20000, "成功"),
    FAIL(201, "失败");

    public int Code;
    public String msg;

    Status(int code, String msg) {
        Code = code;
        this.msg = msg;
    }

    public int getCode() {
        return Code;
    }

    public void setCode(int code) {
        Code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
